Total Complexity | 87 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 1,203 |
Lines of code | 261 |
Logical lines of code | 137 |
Comment lines | 535 |
Methods | 31 |
Properties | 13 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
version() | 52 | 9 | 23 | |
isMobile() | 55 | 7 | 21 | |
checkHttpHeadersForMobile() | 57 | 7 | 17 | |
setUserAgent() | 55 | 6 | 20 | |
isTablet() | 58 | 6 | 16 | |
match() | 58 | 5 | 15 | |
setCfHeaders() | 58 | 5 | 14 | |
setHttpHeaders() | 61 | 5 | 12 | |
getHttpHeader() | 60 | 4 | 13 | |
matchUAAgainstKey() | 61 | 4 | 13 | |
matchDetectionRulesAgainstUA() | 63 | 4 | 11 | |
is() | 67 | 3 | 9 | |
getRules() | 64 | 2 | 12 | |
__call() | 67 | 2 | 7 | |
prepareVersionNo() | 65 | 2 | 8 | |
getProperties() | 81 | 1 | 3 | |
getOperatingSystems() | 81 | 1 | 3 | |
__construct() | 77 | 1 | 4 | |
getBrowsers() | 81 | 1 | 3 | |
getUserAgents() | 80 | 1 | 3 | |
getScriptVersion() | 80 | 1 | 3 | |
getPhoneDevices() | 81 | 1 | 3 | |
getMatchesArray() | 82 | 1 | 3 | |
getMatchingRegex() | 82 | 1 | 3 | |
getUserAgent() | 82 | 1 | 3 | |
prepareUserAgent() | 75 | 1 | 4 | |
getCfHeaders() | 82 | 1 | 3 | |
getUaHttpHeaders() | 81 | 1 | 3 | |
getMobileHeaders() | 81 | 1 | 3 | |
getHttpHeaders() | 82 | 1 | 3 | |
getTabletDevices() | 81 | 1 | 3 |